Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

252
Views
Error: Based on the provided shape, [1280,130], the tensor should have 166400 values but has 0

I'm trying to build a Tensorflow.js app with react js, it works on Google Chrome, but when I try to run it on mozilla firefox, it downloads the .bin model and gives an error as seen in the title of this question. Below is the code that i wrote to load the model. I have searched for the root of error and it was caused by the loadGraphModel. But I don't understand why

const loadModel = async () => {
    setIsModelLoading(true);
    try {
      const model = await loadGraphModel("./model/model.json");
      setModel(model);
      setIsModelLoading(false);
    } catch (error) {
      console.log(error);
      setIsModelLoading(false);
    }
  };

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!